Book Contents

How values are shown

The numeric display shows the value of the Value connection at the data source. The value shown depends on whether the Value connection value is a floating point or integer value.

Tip:

In 32-bit floating point values, 1 bit is used for the sign (if any), 8 bits for the exponent, and 23 bits for the significant. This allows no more than 7 digits. In FactoryTalk Machine Edition, floating point values are rounded to 6 digits. Therefore, using a floating point data type and adding to it a value that exceeds the 6 significant digits will result in a loss of precision.

Floating point value

Integer value

Value rounded to fit the display based on the Number of digits and Decimal places properties:

Example:

 If "Number of digits" = 6,
and Decimal places = 2,
1234.56 rounded to 1234.6.

If "Number of digits" = 6,
Decimal places = 1,
123.456 rounded to 123.5.

If Decimal places property = 0, value shown as is.

If Decimal places property is greater than 0, the integer value will be shown, followed by enough zeroes to equal the Decimal places property.

Example:

If Number of digits = 6
and Decimal places = 2
123 displays as 123.00

If Number of digits = 6
and Decimal places = 4
123 would also be shown as 123.00

See also

How the numeric display works at run time

Set up connections for the numeric display

How values are rounded